<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>   
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
 <%
	String contextPath = request.getContextPath();
%>
 
	<hr>

<!-- Wrapper -->
<div id="wrapper">   		
<!-- Contenter_Sub -->
<div id="container_sub">

<!-- Content_List -->
<div id="sub_page_bg4"></div><!-- Sub Page Background -->		
<div id="content_list">
<div class="title">
<div class='sub_title'>
<li>성혼후기</li>
<li class='stitle'>나의 성공담!</li>
</div>

<div class='navig'>
	<li class='frst'><img src='../image/all/home_icon.png' align='absmiddle' width='13' height='13'><a href='<%=contextPath %>/main/index.do'>HOME</a></li>
	<li>후기&문의</li>
	<li>성혼 후기</li>
</div>

<!-- sub_menu-->
<ul class='sub_menu'>		
	<ul class="sub_tab">
		<li><a class='rollover' href="<%=contextPath%>/mainPage/query.do">FAQ</a></li>
		<li><a class='rollover' href="<%=contextPath %>/qnaBoard/list.do">1:1문의하기</a></li>
		<li><a class='over' href="#">성혼 후기</a></li>
		
	</ul>
</ul>
</div>

<!-- skin : /home/wedaehan/www/skin/board/basic2 --><style>
ul,ol,li {list-style:none;}
li {display:inline;}
</style>
<section id="bo_w">
<h2 id="container_title">1:1문의하기 답변 글쓰기</h2>

<div class="tbl_frm01 tbl_wrap">
<form method="post" name="form" action="<%=contextPath %>/successBoard/reply1.do">
 <form:errors element="div"/>
 
<table>
  <tbody>
     <tr>
      <th scope="row"><label for="writer_name">이름</label></th>
      <td>
      <input type="text" id="wr_name"  size="20" maxlength="20" name="writer_name">
      <%-- <font color="red"><form:errors path="writer_name"/></font> --%>
      </td>
     </tr>   
     
     <tr>
       <th scope="row"><label for="title">제목</label></th>
       <td>
        <div id="autosave_wrapper">
        <input type="text"  id="wr_subject"  size="50" maxlength="255" name="title" value="${reply.title}"/>
                             
       </td>
     </tr>
     
     <tr>
       <th scope="row"><label for="wr_content">내용</label></th>
       <td class="wr_content">
			<textarea id="wr_content" name="content">${reply.content}</textarea><br>
			<%-- <form:errors path="content" class="ckeditor" maxlength="65536"/> --%>
	    </td>
     </tr>
     
     <tr>
      <th scope="row"><label for="password">패스워드</label></th>
      <td>
     	<input type="password" size="20" maxlength="20" name="password"/>
     	
      </td>
     </tr>
	<input type="hidden" name="id" value="${id}">
	<input type="hidden" name="num" value="${reply.num}">
	<input type="hidden" name="reply" value="${reply.reply}">
	<input type="hidden" name="reply_step" value="${reply.reply_step}">
	<input type="hidden" name="reply_level" value="${reply.reply_level}">
 </tbody>
</table>

 <div class="btn_confirm">
        <input type="submit" value="답변" id="btn_submit" class="btn_submit" >
        <a href="<%=contextPath %>/successBoard/list.do" class="btn_cancel">취소</a>
    </div>
</form>
    </div>
</section>
<!-- } 게시물 작성/수정 끝 -->		
		<div id="blank">&nbsp;</div>
		</div>
		<!-- //content_list -->

	</div>
	<!-- //contenter_sub -->

</div>
<!-- //wrapper -->



